<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <!-- https://vuejs.org/v2/guide/ -->
  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  <title>VueApp</title>
</head>

<body>

  <div id="app">

    <div>
      <input type="text" v-model="msg" placeholder="Enter Message">
      {{msg}}
    </div>

    <div>
      <input type="checkbox" v-model="checked">
      <p>{{checked}}</p>
    </div>

    <div>
      <input type="checkbox" value="Mike" v-model="checkedNames">
      <label>Mike</label>
      <input type="checkbox" value="Steve" v-model="checkedNames">
      <label>Steve</label>
      <input type="checkbox" value="Jill" v-model="checkedNames">
      <label>Jill</label>
      <p>Checked Names: {{checkedNames}}</p>
    </div>


    <div>
      <input type="radio" value="One" v-model="radioPicks">
      <label>One</label>
      <input type="radio" value="Two" v-model="radioPicks">
      <label>Two</label>
      <input type="radio" value="Three" v-model="radioPicks">
      <label>Three</label>
      <p>Radio Picks: {{radioPicks}}</p>
    </div>


    <div>
      <select v-model="selected">
        <option>One</option>
        <option>Two</option>
        <option>Three</option>
      </select>
      <p>Selected: {{selected}}</p>
    </div>

    <div>
      <select multiple v-model="selectedOpt">
        <option v-for="option in options" v-bind:value="option.value">
          {{option.text}}
        </option>
      </select>
      <p>Selected Opt: {{selectedOpt}}</p>
    </div>


  </div>

  <script>

    let app = new Vue({
      el: '#app',
      data: {
        msg: 'Hello Word',
        checked: false,
        checkedNames: [],
        radioPicks: '',
        selected: '',
        options: [
          { text: 'One', value: 'A' },
          { text: 'Two', value: 'B' },
          { text: 'Three', value: 'C' }
        ],
        selectedOpt: ''
      }
    })

  </script>

</body>

</html>